/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.smarttmt.smartmanager.bean;

import java.util.List;

/**
 *
 * @author nicolas
 */
@javax.enterprise.context.ApplicationScoped
@javax.inject.Named(value = "applicationControllerBean")
public class ApplicationController {
    
    private java.util.List<String> semanaList;
    
    @javax.annotation.PostConstruct
    public void initApplicationController(){
        semanaList = new java.util.ArrayList<>();
        
        //Se inicializan las semanas de programación
        semanaList.add("2014-21");
        semanaList.add("2014-20");
        semanaList.add("2014-19");
        semanaList.add("2014-18");
        semanaList.add("2014-17");
        semanaList.add("2014-16");
        semanaList.add("2014-15");
        semanaList.add("2014-14");
    }

    public List<String> getSemanaList() {
        return semanaList;
    }

    public void setSemanaList(List<String> semanaList) {
        this.semanaList = semanaList;
    }
    
    
}
